package com.mgxy.GlodMiner;

import java.awt.*;

public class Rock extends Object{
    Rock(){
        this.x=(int) (Math.random()*700);
        this.y=(int) (Math.random()*550+330);
        this.width=71;
        this.height=71;
        this.flag=false;
        this.m=65;
        this.count=1;
        this.objtype=2;
        this.img = Toolkit.getDefaultToolkit().getImage(Rock.class.getClassLoader().getResource("resources/rock1.png"));

    }
}

